﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="GrupoForm.aspx.cs" Inherits="Tambini.Web.GrupoForm" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPopupControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxPanel" tagprefix="dx" %>

<asp:Content ID="Content2" ContentPlaceHolderID="id_transfiter" runat="server">
    <script type="text/javascript">
    // <![CDATA[
    function ShowMsj() {
        popupmsj.Show();
    }
    function ShowConfirmacion() {
        popupConfirmacion.Show();
    }
    // ]]> 
    </script>
 <div class="main-header" style="width:100%;">
            <div class="main-titulo">Adm. Grupos</div>           
          </div> 


          <table>
          <tr>
          <td>
              <dx:ASPxButton ID="btnNuevo" runat="server" Text="Nuevo" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                  onclick="btnNuevo_Click">
              </dx:ASPxButton>
          
          
          </td>
          <td>
          
              <dx:ASPxButton ID="btnModificar" runat="server" Text="Modificar" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                  onclick="btnModificar_Click">
              </dx:ASPxButton>
          
          </td>
          <td>
          
              <dx:ASPxButton ID="btnEliminar" runat="server" Text="Anular" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                  onclick="btnEliminar_Click">
              </dx:ASPxButton>
          
          </td>
          <td>
          
              <dx:ASPxButton ID="btnSalir" runat="server" Text="Salir" 
                  CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                  CssPostfix="Office2010Blue" 
                  SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                  onclick="btnSalir_Click">
              </dx:ASPxButton>
          
          </td>
          
          </tr>
          
          </table>


           <div class="content-form">  
           



           
               <dx:ASPxGridView ID="gvListGrupo" runat="server" AutoGenerateColumns="False" 
                   CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                   CssPostfix="Office2010Blue" KeyFieldName="ID_GRUPO" Width="100%"
                   onpageindexchanged="gvListGrupo_PageIndexChanged" 
                   onfocusedrowchanged="gvListGrupo_FocusedRowChanged" 
                   onafterperformcallback="gvListGrupo_AfterPerformCallback">
                   <Columns>
                       <dx:GridViewDataTextColumn Caption="Id" FieldName="ID_GRUPO" VisibleIndex="0">
                           <PropertiesTextEdit>
                               <ValidationSettings ErrorText="Valor inválido">
                                   <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                               </ValidationSettings>
                           </PropertiesTextEdit>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Nombre" FieldName="DES_NOMBRE" 
                           VisibleIndex="1">
                           <PropertiesTextEdit>
                               <ValidationSettings ErrorText="Valor inválido">
                                   <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                               </ValidationSettings>
                           </PropertiesTextEdit>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Descripción" FieldName="DES_DESCRIPCION" 
                           VisibleIndex="2">
                           <PropertiesTextEdit>
                               <ValidationSettings ErrorText="Valor inválido">
                                   <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                               </ValidationSettings>
                           </PropertiesTextEdit>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Estado" FieldName="IND_ESTADO" 
                           VisibleIndex="3">
                           <PropertiesTextEdit>
                               <ValidationSettings ErrorText="Valor inválido">
                                   <RegularExpression ErrorText="Falló la validación de expresión Regular" />
                               </ValidationSettings>
                           </PropertiesTextEdit>
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn FieldName="USR_CREACION" Visible="False" 
                           VisibleIndex="5">
                       </dx:GridViewDataTextColumn>
                   </Columns>
                   <SettingsBehavior AllowFocusedRow="True" />
                   <Settings ShowFilterRow="True" />
<SettingsLoadingPanel Text="Cargando&amp;hellip;"></SettingsLoadingPanel>
                   <Images SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
                       <LoadingPanelOnStatusBar Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                       </LoadingPanelOnStatusBar>
                       <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                       </LoadingPanel>
                   </Images>
                   <ImagesFilterControl>
                       <LoadingPanel Url="~/App_Themes/Office2010Blue/GridView/Loading.gif">
                       </LoadingPanel>
                   </ImagesFilterControl>
                   <Styles CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                       CssPostfix="Office2010Blue">
                       <Header ImageSpacing="5px" SortingImageSpacing="5px">
                       </Header>
                       <LoadingPanel ImageSpacing="5px">
                       </LoadingPanel>
                   </Styles>
                   <StylesPager>
                       <PageNumber ForeColor="#3E4846">
                       </PageNumber>
                       <Summary ForeColor="#1E395B">
                       </Summary>
                   </StylesPager>
                   <StylesEditors ButtonEditCellSpacing="0">
                       <ProgressBar Height="21px">
                       </ProgressBar>
                   </StylesEditors>
               </dx:ASPxGridView>
           <dx:ASPxPopupControl ID="popupmsj" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupmsj" CloseAction="None" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
<Paddings Padding="0px"></Paddings>
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
<BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px"></BorderBottom>
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px"></Paddings>
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl5" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel2" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="Panelpopup" runat="server">
                        <table align="center">
                        <tr>
                        <td colspan="2" align="center">
                        
                            Seleccione un registro!
                        
                        
                        
                        </td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        
                        </table>
                        <table align="center">
                        <tr>
                        <td align="center" style="width: 215px">
                        
                            <dx:ASPxButton ID="ASPxButton3" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css">
<ClientSideEvents Click="function(s, e) {
	popupmsj.Hide();
}"/>
                            </dx:ASPxButton>
                        </td>
                        
                        </tr>
                        </table>



                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>

                <dx:ASPxPopupControl ID="popupConfirmacion" runat="server" AllowDragging="True" 
                    ClientInstanceName="popupConfirmacion" CloseAction="None" 
                    CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" 
                    EnableViewState="False" HeaderText="Mensaje" 
                    LoadingPanelText="Cargando&amp;hellip;" Modal="True" 
                    PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" 
                    SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css" Width="300px">
                
                    <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                    </LoadingPanelImage>
                    <CloseButtonStyle>
                        <Paddings Padding="0px" />
<Paddings Padding="0px"></Paddings>
                    </CloseButtonStyle>
                    <ContentStyle>
                        <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
<BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px"></BorderBottom>
                    </ContentStyle>
                    <HeaderStyle>
                    <Paddings PaddingBottom="4px" PaddingLeft="10px" PaddingRight="4px" 
                        PaddingTop="4px" />
<Paddings PaddingLeft="10px" PaddingTop="4px" PaddingRight="4px" PaddingBottom="4px"></Paddings>
                    </HeaderStyle>
                
                 <ContentCollection>
<dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">

    <br />
      <dx:ASPxPanel ID="ASPxPanel1" runat="server" DefaultButton="btCreate">
                    <PanelCollection>
                        <dx:PanelContent ID="PanelContent1" runat="server">
                        <table align="center">
                        <tr>
                        <td colspan="2">
                        
                            &nbsp;<dx:ASPxLabel ID="lblMensaje" runat="server">
                            </dx:ASPxLabel>
                        
                        
                        
                        </td>
                        
                        </tr>
                            <tr>
                                <td colspan="2">
                                    &nbsp;</td>
                            </tr>
                        
                        </table>
                        <table align="center">
                        <tr>
                        <td align="center">
                        
                            <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" 
                                AutoPostBack="False" CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                OnClick="btnAceptar_Click">
<ClientSideEvents Click="function(s, e) {
	popupConfirmacion.Hide();
}"/>
                            </dx:ASPxButton>
                        </td>
                        <td>
                        
                            <dx:ASPxButton ID="ASPxButton5" runat="server" 
                                CssFilePath="~/App_Themes/Office2010Blue/{0}/styles.css" 
                                CssPostfix="Office2010Blue" 
                                SpriteCssFilePath="~/App_Themes/Office2010Blue/{0}/sprite.css" 
                                Text="Cancelar" AutoPostBack="False">
                                <ClientSideEvents Click="function(s, e) {
	popupConfirmacion.Hide();
}" />
                            </dx:ASPxButton>
                        
                        </td>
                        </tr>
                        </table>



                 </dx:PanelContent>
    </PanelCollection>
   </dx:ASPxPanel>
   </dx:PopupControlContentControl>
</ContentCollection>
                </dx:ASPxPopupControl>

           
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />
               <br />



           
           </div>

</asp:Content>
